package cn.li.security.repository;

import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;
import cn.li.security.entity.Account;

@Repository
public interface AccountRepository extends CrudRepository<Account,Long> {
    /**
     * 根据USERNAME查询
     * @param username
     * @return
     */
    Account findByUsername(String username);
}
